<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
	<link rel="stylesheet" type="text/css" href="../styles/global.css"/>
	<link rel="stylesheet" type="text/css" href="../scripts/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.css" />
	<script type="text/javascript" src="../scripts/jquery-ui-1.8.16/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="../scripts/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="../scripts/highstock-1.0.Beta/highstock.js"></script>
	<script type="text/javascript" src="../scripts/highstock-1.0.Beta/themes/grid.js"></script>
	<script type="text/javascript" src="../scripts/common.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#main").middle();
	$("#main").center();
	
	$("#gpdm").autocomplete({
		source:"<s:url action='profile_search_search'/>",
		minLength:2,
		autoFocus:true,
		select:function(event,ui){
			var value = ui.item.value;
			ui.item.value="";
			window.location.href="<s:url action='profile'/>?gpdm="+value;
		}
	});
	$("#gpdm").focus();

});
</script>
<style>
#gpdm{
	height:25px;
	line-height:25px;
	margin:5px;
	font-weight:bold;
	font-size:20px;
	padding:5px;
	color:#555555;
	border:1px solid #5d5d5d;
	background-color:#ffffff;
}
#label{
 	text-align:center;
 	font-size:20px;
 	padding-bottom:10px;
}
#navigator{
 	text-align:center;
 	height:200px;
}
#main{
	width:500px;
}
#tabs{
	border:10px solid #5a5a5a;
}
#tabs .ui-widget-header{
	background:none;
	border-top:none;
	border-left:none;
	border-right:none;
}
</style>
</head>
<body>
<div id="main">
	<div id="label">请输入您要查询股票的代码或简称</div>
	<div id="navigator">
		<input type="hidden" name="go" value="profile"/><input type="text" id="gpdm" name="gpdm" value="">
	</div>
</div>
</body>
</html>